<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <!-- <link rel="icon" href="/favicon.ico"> -->
  <link rel="icon" href="/logo.png">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="Cache-Control" content="max-age=7200" />

  <title>中震网校</title>
  <script src="/js/crypto-js.js"></script>
  <script src="/js/sm2.js"></script>

   
</head>

<body>
  <div id="app"></div>

  <script type="module" src="/src/main.js"></script>
  <script>


  // function setRootFontSize() {
  //       let dpr, rem, scale, rootWidth;
  //       let rootHtml = document.documentElement;
    
  //       dpr = window.devicePixelRatio || 1; //移动端必须设置
  //       //限制展现页面的最小宽度
  //       rootWidth = rootHtml.clientWidth < 1366 ? 1366 : rootHtml.clientWidth;
  //       // rem = rootWidth * dpr / 19.2; // 19.2 = 设计图尺寸宽1920 / 100（设计图的rem = 100）
  //       rem = rootWidth * dpr / 25; 
  //       scale = 1 / dpr;
    
  //       // 设置viewport，进行缩放，达到高清效果 (移动端添加)
  //       let vp = document.querySelector('meta[name="viewport"]');
  //       vp.setAttribute('content', 'width=' + dpr * rootHtml.clientWidth + ',initial-scale=' + scale + ',maximum-scale=' + scale + ', minimum-scale=' + scale + ',user-scalable=no');
    
  //       // 动态写入样式
  //       rootHtml.style.fontSize = `${rem}px`;
  //   }
  //   setRootFontSize();
  //   window.addEventListener("resize", setRootFontSize, false);
  //   window.addEventListener("orientationchange", setRootFontSize, false); //移动端
  </script>
</body>

</html>